import Vue from 'vue'
import App from './App'
import url from './common/config.js'
import util from './common/util.js'
import request from './common/request.js'
import api from './api/api.js'


//引入过滤器
import * as filters from './common/filter'
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]))

Vue.config.productionTip = false;
Vue.prototype.$util = util
Vue.prototype.$request = request
Vue.prototype.$url = url
Vue.prototype.$api = api
App.mpType = 'app'
Vue.prototype.$version='v0.0.1'
Vue.prototype.device = ""
const app = new Vue({
	...App
})
app.$mount()